package com.oracle.controller;

import com.oracle.common.R;
import com.oracle.common.TaskTypeEnums;
import com.oracle.service.TaskTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author
 * @since 2025年05月15日
 */
@RestController
@RequestMapping("/taskType")
public class TaskTypeController {

    @Autowired
    private TaskTypeService taskTypeService;

    @GetMapping("/findAll")
    public R findAll(){
       return  R.success(taskTypeService.findAll());
    }

}
